/**
 * <p>Copyright: Copyright (c) 2014</p>
 * <p>Company: ---Technology Co. Ltd</p>
 * <p>2014-4-29</p>
 * @author Jan.Zhang
 */
package com.xianl.busiplat.po;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


/** 
 * desc: User Model mapping db table: t_user
 * <p>author: Jan.Zhang </p>
 * date: 2014-4-29
 */
public class User implements Serializable{
	
	/**
	 * long:serialVersionUID 
	 */
	private static final long serialVersionUID = -8051582200656228219L;
	private Integer id;
	private String username;
	private String realname;
	private String outUser;
	private String email;
	private String password;
	private String salt;
	private Integer status;
	private Integer sex;
	private String phone;
	private Date inTime;
	private Date modTime;
	private Date loseDate;
	private Date effDate;
	
	private String plainPassword;
	
	private List<UserRole> userRoles;

	
	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	
	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	
	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}

	
	/**
	 * @param username the username to set
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	
	/**
	 * @return the realname
	 */
	public String getRealname() {
		return realname;
	}

	
	/**
	 * @param realname the realname to set
	 */
	public void setRealname(String realname) {
		this.realname = realname;
	}

	
	/**
	 * @return the outUser
	 */
	public String getOutUser() {
		return outUser;
	}

	
	/**
	 * @param outUser the outUser to set
	 */
	public void setOutUser(String outUser) {
		this.outUser = outUser;
	}

	
	/**
	 * @return the email
	 */
	public String getEmail() {
		return email;
	}

	
	/**
	 * @param email the email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	
	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}

	
	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	
	/**
	 * @return the salt
	 */
	public String getSalt() {
		return salt;
	}

	
	/**
	 * @param salt the salt to set
	 */
	public void setSalt(String salt) {
		this.salt = salt;
	}

	
	/**
	 * @return the status
	 */
	public Integer getStatus() {
		return status;
	}

	
	/**
	 * @param status the status to set
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}

	
	/**
	 * @return the phone
	 */
	public String getPhone() {
		return phone;
	}

	
	/**
	 * @param phone the phone to set
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}


	
	/**
	 * @return the inTime
	 */
	public Date getInTime() {
		return inTime;
	}


	
	/**
	 * @param inTime the inTime to set
	 */
	public void setInTime(Date inTime) {
		this.inTime = inTime;
	}


	
	/**
	 * @return the modTime
	 */
	public Date getModTime() {
		return modTime;
	}


	
	/**
	 * @param modTime the modTime to set
	 */
	public void setModTime(Date modTime) {
		this.modTime = modTime;
	}


	
	/**
	 * @return the loseDate
	 */
	public Date getLoseDate() {
		return loseDate;
	}


	
	/**
	 * @param loseDate the loseDate to set
	 */
	public void setLoseDate(Date loseDate) {
		this.loseDate = loseDate;
	}


	
	/**
	 * @return the effDate
	 */
	public Date getEffDate() {
		return effDate;
	}


	
	/**
	 * @param effDate the effDate to set
	 */
	public void setEffDate(Date effDate) {
		this.effDate = effDate;
	}


	
	/**
	 * @return the plainPassword
	 */
	public String getPlainPassword() {
		return plainPassword;
	}


	
	/**
	 * @param plainPassword the plainPassword to set
	 */
	public void setPlainPassword(String plainPassword) {
		this.plainPassword = plainPassword;
	}


	
	/**
	 * @return the userRoles
	 */
	public List<UserRole> getUserRoles() {
		return userRoles;
	}


	
	/**
	 * @param userRoles the userRoles to set
	 */
	public void setUserRoles(List<UserRole> userRoles) {
		this.userRoles = userRoles;
	}


	
	/**
	 * @return the sex
	 */
	public Integer getSex() {
		return sex;
	}
	
	/**
	 * @param sex the sex to set
	 */
	public void setSex(Integer sex) {
		this.sex = sex;
	}

}
